package com.yarin.android.Examples_08_09;

/**
 * Created by Gallery on 13-9-14.
 */
public class TestJava {
    public static void main(String args[]) {
        //byte[] temporary = { 0x12 };
        //int volumeValue = Integer.parseInt(MathMethod.byte2HexStr(temporary), 16);
        //System.out.println(MathMethod.byte2HexStr(temporary) + " ; " + volumeValue);

        byte[] targetByte = { 0x12, 0x00, 0x00, 0x00 };
        System.out.println(MathMethod.bytesToInt(targetByte));
    }
}
